OPC Studio User's Guide and Reference
UAAttributeDataResult<T> Constructor(Object,UAAttributeData<T>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Generic Namespace > UAAttributeDataResult<T> Class > UAAttributeDataResult<T> Constructor : UAAttributeDataResult<T> Constructor(Object,UAAttributeData<T>)
The state object specified when the operation was invoked.
The typed UAAttributeData<TValue> (value, timestamps and status code) that is a successful result of the operation.
Initializes a new instance of the class. Initializes a new instance of the class, with given state object and typed UAAttributeData<TValue>.
Syntax
'Declaration
 
Public Function New( _
   ByVal state As Object, _
   ByVal attributeData As UAAttributeData(Of T) _
)
'Usage
 
Dim state As Object
Dim attributeData As UAAttributeData(Of T)
 
Dim instance As New UAAttributeDataResult(Of T)(state, attributeData)
public UAAttributeDataResult<T>( 
   object state,
   UAAttributeData<T> attributeData
)
public:
UAAttributeDataResult<T>( 
   Object^ state,
   UAAttributeData<T^>^ attributeData
)

Parameters

state
The state object specified when the operation was invoked.
attributeData
The typed UAAttributeData<TValue> (value, timestamps and status code) that is a successful result of the operation.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also